package com.stox.client.ui.javafx.watchlist.widget;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.control.Button;

public abstract class AbstractWatchlistButton extends Button implements EventHandler<ActionEvent>{

	private final WatchlistComboBox watchlistComboBox;
	
	public AbstractWatchlistButton(WatchlistComboBox watchlistComboBox) {
		this.watchlistComboBox = watchlistComboBox;
		setOnAction(this);
	}
	
	protected WatchlistComboBox getWatchlistComboBox() {
		return watchlistComboBox;
	}
}
